/********************************************************************************
 *      Copyright:  (C) 2024 YunQi
 *                  All rights reserved.
 *
 *       Filename:  adc_light.h
 *    Description:  This file 
 *
 *        Version:  1.0.0(28/04/24)
 *         Author:  denglen <dengleen@outlook.com>
 *      ChangeLog:  1, Release initial version on "28/04/24 13:00:33"
 *                 
 ********************************************************************************/
#ifndef __ADC_LIGHT_H__
#define __ADC_LIGHT_H__

#define PCF8591_ADDRESS     0x48
#define PCF8591_AIN1        0x41
#define VOLTAGE_REF         5

int get_light_intensity(float *light);

#endif

